<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>CSS超链接</title>
    <style>
      a.c1 {
        text-decoration: none;
        color: black;
      }
      a.c1:hover {
        color: blue;
        font-weight: bold;
        text-decoration: underline;
      }
      #p1 {
        border: 1px solid black;
      }
      #p1:hover {
        border-color: red;
      }
      input:focus {
        border: 5px solid orange;
      }
    </style>
  </head>
  <body>
    <p><a href="">链接</a></p>
    <p><a class="c1" href="">链接</a></p>
    <p id="p1">段落文字</p>
    <p><input type="text" /></p>
  </body>
</html>
